package com.haixiaoke.saas.house.mapper;

import com.haixiaoke.saas.house.domain.HouseFacilities;

import java.util.List;

/**
 * 服务设施Mapper接口
 * 
 * @author panda
 * @date 2025-06-25
 */
public interface HouseFacilitiesMapper {
    /**
     * 查询服务设施
     * 
     * @param facilitiesId 服务设施主键
     * @return 服务设施
     */
    HouseFacilities selectHouseFacilitiesByFacilitiesId(Long facilitiesId);

    /**
     * 查询服务设施列表
     * 
     * @param houseFacilities 服务设施
     * @return 服务设施集合
     */
    List<HouseFacilities> selectHouseFacilitiesList(HouseFacilities houseFacilities);

    /**
     * 新增服务设施
     * 
     * @param houseFacilities 服务设施
     * @return 结果
     */
    int insertHouseFacilities(HouseFacilities houseFacilities);

    /**
     * 修改服务设施
     * 
     * @param houseFacilities 服务设施
     * @return 结果
     */
    int updateHouseFacilities(HouseFacilities houseFacilities);

    /**
     * 删除服务设施
     * 
     * @param facilitiesId 服务设施主键
     * @return 结果
     */
    int deleteHouseFacilitiesByFacilitiesId(Long facilitiesId);

    /**
     * 批量删除服务设施
     * 
     * @param facilitiesIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteHouseFacilitiesByFacilitiesIds(Long[] facilitiesIds);

    /**
     * 根据设施id集合查询服务设施集合
     * @param facilitiesIds 设施id集合
     * @return
     */
    List<HouseFacilities> selectHouseFacilitiesByFacilitiesIds(List<Long> facilitiesIds);
}
